package com.ziyia.contactstest;

public class Sms {
    private int id;
    private String address;
    private int type;
    private String body;
    private Long date;

    public Sms(int id, String address, int type, String body, Long date) {
        this.id = id;
        this.address = address;
        this.type = type;
        this.body = body;
        this.date = date;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }

    public Long getDate() {
        return date;
    }

    public void setDate(Long date) {
        this.date = date;
    }

    @Override
    public String toString() {
        return "Sms{" +
                "id=" + id +
                ", address='" + address + '\'' +
                ", type=" + type +
                ", body='" + body + '\'' +
                ", date=" + date +
                '}';
    }
}
